﻿<UserControl x:Class="StockholmsStad.Windows.UI.Modules.Minister.Controls.PrintSelector"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:datePicker="clr-namespace:StockholmsStad.Windows.UI.Infrastructure.Controls;assembly=StockholmsStad.Windows.UI.Infrastructure"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    
    <Grid Margin="5,5,5,5">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <TextBlock Text="Ange datum som arvodet ska gälla från:" Grid.Row="0" Grid.Column="0" 
                   HorizontalAlignment="Left" Margin="0,0,0,5" />
        
        <datePicker:DateTimePicker Grid.Row="1" Grid.Column="0" x:Name="dpDate" 
                                   SelectedDate="{Binding ReimbursementDate, Mode=TwoWay}"
                                   Width="100" HorizontalAlignment="Left"/>
        
        <StackPanel Orientation="Horizontal" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" Margin="0,10,0,0">
            <Button x:Name="btnPrint" Content="Skriv ut" />
            <Button x:Name="btnCancel" Content="Stäng" Margin="5,0,0,0" />
        </StackPanel>    
    </Grid>
</UserControl>
